package com.deliinsns.sys.util;

import org.apache.commons.lang.StringUtils;

public class ParameterUtil {
	
	public static boolean allNotBlank(String... param){
		
		boolean result= true;
		for(int i=0;i<param.length;i++){
			if(StringUtils.isBlank(param[i])){
				result= false;
				break;
			}
		}
		return result;
	}
	public static boolean allNumeric(String... param){
		
		boolean result= true;
		for(int i=0;i<param.length;i++){
			if(!StringUtils.isNumeric((param[i]))){
				result= false;
				break;
			}
		}
		return result;
	}
	public static void main(String []a){
		
		boolean result= ParameterUtil.allNotBlank("f","  ","fsdf");
		System.out.println(result);
		
	}
}
